
import {myRequest} from "../utils/request.js"

export function classifyindex(data){
	return myRequest({
		url:"local/classify/index",
		method: "post",
		data:data||{}
	})
}
export function classifyList(data){
	return myRequest({
		url:"local/classify/list",
		method: "post",
		data:data||{}
	})
}
export function slider(data){
	return myRequest({
		url:"local/index/slider",
		method: "post",
		data:data||{}
	})
}
export function recommendSeller(data){
	return myRequest({
		url:"local/index/recommendSeller",
		method: "post",
		data:data||{}
	})
}
export function detail(data){
	return myRequest({
		url:"local/seller/detail",
		method: "post",
		data:data||{}
	})
}
export function goodlist(data){
	return myRequest({
		url:"local/goods/list",
		method: "post",
		data:data||{}
	})
}
export function goodsdetail(data){
	return myRequest({
		url:"local/goods/detail",
		method: "post",
		data:data||{}
	})
}
export function orderEvaluate(data){
	return myRequest({
		url:"local/seller/orderEvaluate",
		method: "post",
		data:data||{}
	})
}
export function createorder(data){
	return myRequest({
		url:"local/order/create",
		method: "post",
		data:data||{}
	})
}
export function orderlist(data){
	return myRequest({
		url:"local/order/list",
		method: "post",
		data:data||{}
	})
}
export function localpay(data){
	return myRequest({
		url:"local/order/pay",
		method: "post",
		data:data||{}
	})
}
export function refund(data){
	return myRequest({
		url:"local/orderRefund/refund",
		method: "post",
		data:data||{}
	})
}
export function codelist(data){
	return myRequest({
		url:"local/orderVerify/list",
		method: "post",
		data:data||{}
	})
}
export function localdetail(data){
	return myRequest({
		url:"local/order/detail",
		method: "post",
		data:data||{}
	})
}
export function cancel(data){
	return myRequest({
		url:"local/order/cancel",
		method: "post",
		data:data||{}
	})
}
export function orderRefundlist(data){
	return myRequest({
		url:"local/orderRefund/list",
		method: "post",
		data:data||{}
	})
}
export function refundPrice(data){
	return myRequest({
		url:"local/orderRefund/refundPrice",
		method: "post",
		data:data||{}
	})
}
export function addpj(data){
	return myRequest({
		url:"local/orderEvaluate/add",
		method: "post",
		data:data||{}
	})
}
export function evaluate(data){
	return myRequest({
		url:"local/seller/evaluate",
		method: "post",
		data:data||{}
	})
}
export function search(data){
	return myRequest({
		url:"local/index/search",
		method: "post",
		data:data||{}
	})
}
export function seller(data){
	return myRequest({
		url:"local/common/seller",
		method: "post",
		data:data||{}
	})
}
export function paymentStatus(data){
	return myRequest({
		url:"shop/order/paymentStatus",
		method: "post",
		data:data||{}
	})
}
export function hotCity(data){
	return myRequest({
		url:"local/common/hotCity",
		method: "post",
		data:data||{}
	})
}
export function searchByKeyword(data){
	return myRequest({
		url:"local/common/searchByKeyword",
		method: "post",
		data:data||{}
	})
}
export function areaByPid(data){
	return myRequest({
		url:"local/common/areaByPid",
		method: "post",
		data:data||{}
	})
}
export function serviceVoucherPay(data){
	return myRequest({
		url:"local/order/serviceVoucherPay",
		method: "post",
		data:data||{}
	})
}
// 必应鸟列表
export function bynList(data){
	return myRequest({
		url:"local/byn/index",
		method: "post", 
		data:data||{}
	})
}
// 必应鸟详情
export function bynDetail(data){
	return myRequest({
		url:"local/byn/detail",
		method: "post", 
		data:data||{}
	})
}
// 手机充值订单
export function createPhone(data){
	return myRequest({
		url:"local/byn/createPhoneRechargeOrder",
		method: "post", 
		data:data||{}
	})
}
// 手机充值支付
export function phonePay(data){
	return myRequest({
		url:"local/byn/orderPay",
		method: "post", 
		data:data||{}
	})
}
// 手机充值订单
export function phoneOrder(data){
	return myRequest({
		url:"local/byn/orderList",
		method: "post", 
		data:data||{}
	})
}
// 手机充值订单
export function bynSetting(data){
	return myRequest({
		url:"local/byn/bynSetting",
		method: "post", 
		data:data||{}
	})
}

// 广告位
export function localAdvList(data){
	return myRequest({
		url:"local/byn/localAdvList",
		method: "post", 
		data:data||{}
	})
}



export function collect(data){
	return myRequest({
		url:"local/collect/collect",
		method: "post",
		data:data||{}
	})
}
export function collectlist(data){
	return myRequest({
		url:"local/collect/index",
		method: "post",
		data:data||{}
	})
}
export function collectcancel(data){
	return myRequest({
		url:"local/collect/cancel",
		method: "post",
		data:data||{}
	})
}


